package com.commonsware.android;

import java.util.Date;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

/*
 * Modified by Nikhil Karkarey - 1 time
 * to test commit in SVN
 */
public class Now extends Activity implements View.OnClickListener {
    /** Called when the activity is first created. */
	Button btn;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        btn = new Button(this);
        btn.setOnClickListener(this);
        // some change to code to test SVN
        if(true){
        	updateTime();
        }
        
        // some change to code to test SVN one more time
        setContentView(btn);
    }
    
    public void onClick(View view) {
    	updateTime();
    }
    
    private void updateTime() {
    	btn.setText(new Date().toString());
    }
}